<!--/*-->
<?php
//header("Content-type:text/html;charset=utf-8");
//header("Cache-Control:no-cache");
//
////用Cache-Control告诉浏览器有效期 5秒
////header("Cache-Control:max-age=10");//等同于Cache-Control:public, max-age=5
////$curr_time = date('Y-m-d H:i:s');
////echo '服务器时间:'.$curr_time;
//
////响应头Last-Modified
////$lastmodified = filemtime('./index.php');
////$lastmodifiedGMT = gmdate('D, d M Y H:i:s',$lastmodified). 'GMT';
////header("Last-Modified:$lastmodifiedGMT");
//
//
////响应头ETag
//$filename = getcwd() . '/application/views/project.php';
////echo $filename;
//$etag = md5_file($filename);
//header("ETag:$etag");
//
//
//
////@$_SERVER['HTTP_IF_MODIFIED_SINCE'] == $lastmodifiedGMT ||
//echo @trim($_SERVER['HTTP_IF_NONE_MATCH']);
//
//if (@trim($_SERVER['HTTP_IF_NONE_MATCH']) == $etag) {
//    header("HTTP/1.1 304 Not Modified");
//    exit;
//}
//
//
////返回304后，下面的内容不会向浏览器返回，而浏览器会使用之前的缓存
////date_default_timezone_set("Asia/Shanghai");
////$curr_time = date('Y-m-d H:i:s');
////echo '服务器时间:'.$curr_time;
//?>

<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta id="plat_viewport" name="viewport" content="width=device-width, initial-scale=0.5, user-scalable=no, target-densitydpi=device-dpi">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="format-detection" content="telephone=no">
    <title>项目详情-蚂蚁搬运工</title>
    <link rel="shortcut icon" href="<?php echo base_url('file/images/mayi.ico') ?>" type="image/x-icon" />
    <link rel="stylesheet" type="text/css" href="<?php echo base_url('file/css/wap.css') ?>">
</head>
<body>
<section class="conbg project">
    <header class="otherbanner" id="home">
        <h1>项目</h1>
    </header>
    <nav id="nav" class="nav">
        <img src="<?php echo base_url('file/images/nav_img.png') ?>" width="30px">

        <ul class="nav_title">
            <li><a href="<?php echo base_url('home') ?>">首 页</a></li>
            <li><a href="<?php echo base_url('skill') ?>">技 能</a></li>
            <li><a href="<?php echo base_url('project/prolist') ?>">博 客</a></li>
            <li><a href="<?php echo base_url('movie/movielist') ?>">电 影</a></li>
            <li><a href="<?php echo base_url('photo') ?>">相 册</a></li>
            <li><a href="<?php echo base_url('team') ?>">我们团队</a></li>
            <li><a href="<?php echo base_url('about') ?>">关 于</a></li>
        </ul>
    </nav>

    <div class="othercontent" style="padding: 0">
        <div class="pro_con">
            <div class="pro_top">
                <h1><?php echo $project['title']; ?></h1>
                <div class="pro_info">
                    <div class="pro_date">
                        <span class="createtitle"><?php echo $project['createtime']; ?></span>
                        <span class="report">举报</span>
                    </div>
                    <div class="pro_share">
                        <div class="pro_zan">
                            <img src="<?php echo base_url('file/images/zan_icon.png') ?>" width="14px">
                            <span>10</span>
                        </div>
                        <div  class="share_plate">
                            <img src="<?php echo base_url('file/images/share_plat3.png') ?>" width="35px;">
                            <img src="<?php echo base_url('file/images/share_plat2.png') ?>" width="35px;">
                            <img src="<?php echo base_url('file/images/share_plat1.png') ?>" width="35px;">
                        </div>
                    </div>
                </div>
            </div>
            <div class="pro_detail">
                <?php echo $project['content']; ?>
            </div>
        </div>
        <div class="pro_other">
            <div class="pro_user">
                <span class="pro_by">By:</span>
                <img class="pro_user_cover" src="<?php echo base_url('images/header/'.$user['logo']) ?>" width="100px">
                <p><?php echo $user['name']; ?></p>
                <div class="pro_loca">
                    <img src="<?php echo base_url('file/images/share_plat1.png') ?>" width="10px">
                    <span class="pro_location">上海 黄浦区</span>
                </div>
                <div class="pro_info">
                    <div class="pro_add">
                        <img src="<?php echo base_url('file/images/share_plat1.png') ?>" width="10px">
                        <span>关注</span>
                    </div>
                    <div class="pro_msg">
                        <img src="<?php echo base_url('file/images/contact_email.png') ?>" width="20px">
                        <span>私信</span>
                    </div>
                </div>
            </div>
            <div class="pro_tit">
                <span class="title1">近期热门</span>
                <span class="title2">全部</span>
            </div>

            <div class="pro_list clearfix">
                <ul>
                    <?php for($i = 0; $i < 5; $i++) { ?>
                        <li>
                            <img src="<?php echo base_url('file/images/blog_img1.png') ?>" width="100%;">
                            <p class="substr_2">蒂芙尼微电影出街，与倪妮漫步纽约感受“爱·就在此刻”</p>
                        </li>
                    <?php } ?>
                </ul>
            </div>
        </div>
    </div>
</section>


<script src="<?php echo base_url('file/js/wap.js') ?>" type="text/javascript" charset="utf-8"></script>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script>
    index.nav(100);
</script>
</body>
</html>